/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class DeliveryMethodsEnum extends StringEnum
{
    public static final String ADDELIVERY_VALUE = "O";
    public static final String CASHONDELIVERY_VALUE = "1";
    public static final String CREDIT_VALUE = "2";

    public static final DeliveryMethodsEnum adDelivery = new DeliveryMethodsEnum("adDelivery", ADDELIVERY_VALUE);
    public static final DeliveryMethodsEnum cashOnDelivery = new DeliveryMethodsEnum("cashOnDelivery", CASHONDELIVERY_VALUE);
    public static final DeliveryMethodsEnum credit = new DeliveryMethodsEnum("credit", CREDIT_VALUE);

    /**
     * construct function
     * @param String deliveryMethodsEnum
     */
    private DeliveryMethodsEnum(String name, String deliveryMethodsEnum)
    {
        super(name, deliveryMethodsEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static DeliveryMethodsEnum getEnum(String deliveryMethodsEnum)
    {
        return (DeliveryMethodsEnum)getEnum(DeliveryMethodsEnum.class, deliveryMethodsEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(DeliveryMethodsEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(DeliveryMethodsEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(DeliveryMethodsEnum.class);
    }
}